package com.bz.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bz.pojo.TbItemCat;
import com.bz.vo.CatVo;

import java.util.List;

public interface ItemCategoryService extends IService<TbItemCat> {

    /**
     * 根据分类id查询子分类
     * @param id
     * @return
     */
    List<TbItemCat> selectItemCategoryByParentId(Long id);

    /**
     * 查询首页商品分类
     * @return
     */
    CatVo selectItemCategoryAll();

}
